<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  
      xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"  
      xml:lang="en"  
      lang="en"> 

<body>
<wicket:extend>
<div class="container">
	<div class="row" style="padding-top:15px;">
		<div class="span3">
			<div wicket:id="userTitlePanel"></div>
		</div>
	</div>
	
	<div class="row" style="padding-top:10px;">	
		<div class="span12">
			<div class="tabbable tabs-left">
				<!-- tab titles -->
				<ul class="nav nav-tabs">
					<li class="active"><a href="#repositories" data-toggle="tab"><wicket:message key="gb.repositories"></wicket:message></a></li>
					<div wicket:id="preferencesLink"></div>
					<div wicket:id="sshKeysLink"></div>
				</ul>
	
				<!-- tab content -->
				<div class="tab-content">

					<!-- repositories tab -->
					<div class="tab-pane active" id="repositories">
						<table width="100%">
							<tbody>
								<tr wicket:id="repositoryList"><td style="border-bottom:1px solid #eee;"><span wicket:id="repository"></span></td></tr>
							</tbody>
						</table>
					</div>
					
					<!-- preferences tab -->
					<div wicket:id="preferencesTab"></div>
					
					<!-- ssh keys tab -->
					<div wicket:id="sshKeysTab"></div>
					
				</div>
			</div>
		</div>
	</div>
</div>

<wicket:fragment wicket:id="preferencesLinkFragment">
	<li><a href="#preferences" data-toggle="tab"><wicket:message key="gb.preferences"></wicket:message></a></li>
</wicket:fragment>

<wicket:fragment wicket:id="sshKeysLinkFragment">
	<li><a href="#ssh" data-toggle="tab"><wicket:message key="gb.sshKeys"></wicket:message></a></li>
</wicket:fragment>

<wicket:fragment wicket:id="preferencesTabFragment">
	<div class="tab-pane" id="preferences">
		<h4><wicket:message key="gb.accountPreferences"></wicket:message></h4>
		<p><wicket:message key="gb.accountPreferencesDescription"></wicket:message></p>
		<hr />
		
		<form wicket:id="prefsForm">
			<div wicket:id="displayName"></div>
			<div wicket:id="emailAddress"></div>
			<div wicket:id="emailMeOnMyTicketChanges"></div>
			<div wicket:id="language"></div>
			<div wicket:id="transport"></div>
			
			<div class="form-actions"><input class="btn btn-appmenu" type="submit" value="Save" wicket:message="value:gb.save" wicket:id="save" /></div>
		</form>	
	</div>
</wicket:fragment>

<wicket:fragment wicket:id="sshKeysTabFragment">
	<div class="tab-pane" id="ssh">
		<div wicket:id="sshKeysPanel"></div>		
	</div>
</wicket:fragment>

</wicket:extend>
</body>
</html>